package com.ecar.core.driver.dao;

import java.util.Date;
import java.util.List;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.driver.entity.Driver;

public interface DriverMapper extends MybatisMapper {
    int deleteByPrimaryKey(String id);

    int insert(Driver record);

    int insertSelective(Driver record);

    Driver selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Driver record);

    int updateByPrimaryKey(Driver record);

	Driver selectByPhone(String phone);
	
	List<Driver> selectDriverByOrderModel(Integer orderModel);
	
	List<Driver> selectDriverByOrderModelAndModelStatus();
	
	List<Driver> selectDriverBetweenTime(Date currentTime);
	
}